{% extends "base.html" %}
{% block title %}
站内消息 - 查看消息
{% endblock %}




{% block breadcrumb %}
        <ul class="breadcrumb">
<li><a href="/">首页</a></li>&gt;
<li><a href="/space/{{user.id}}/">个人中心</a></li>&gt;
{% if d or s %}
<li><a href="/msgbox/outbox/">已寄出的信件</a></li>&gt;
<li id="breadcurrent">察看消息</span>
{% endif %}
{% if r %}
<li><a href="/msgbox/inbox/">我的信箱</a></li>&gt;
<li id="breadcurrent">察看消息</li>
{% endif %}
        </ul>
{% endblock %}

{% block layoutmid_content %}
		<div id="content">
			<div id="content_list">

<div class="space_assets">
	<form name="msform" id="msform" action="" method="post">
	<input id="action" name="action" value="" type="hidden">
<ul class="nav ">
{% if d or s %}
<li>
	<span class="label label-info">收信人：</span>
    <strong > {{msg.rec_user.username}}</strong>
</li>
{% endif %}
{% if r %}
<li>
	<span class="label label-info">发信人：</span>
	<strong >{{msg.send_user.username}}</strong>
</li>

{% endif %}
</ul>

<div>
	<span class="label label-success"> 主题：</span>
    <strong >  {{msg.title}}
</div>


 <div><span class="label label-important"> 内容:</span>
 </div>

<div class="well ">

{{msg.content}}

</div>

        <div>
        	<span class="label label">时间：</span>
            <strong >	{{msg.modification_date}}</strong>
        </div>


        <br/>
<div class="submit">
{% if r %}
	<a class="btn" href="/msgbox/reply_message/{{msg.id}}/">回复</a>
		&nbsp; &nbsp;
{% endif %}
	<a class="btn btn-warning" href="/msgbox/delete_message/{{msg.id}}/">删除</a>
	&nbsp; &nbsp;
 <a class="btn btn-info" href="javascript:history.back()">返回前一页</a>
</div>
	</form>
</div>

			</div>
		</div>
{% endblock %}